﻿using AutoMapper;
using B.S.Base.Moain.Entities;
using B.S.Base.Write.Api.Application.Command.Products;
using B.S.Base.Write.Api.Application.Command.Shops;

namespace B.S.Base.Write.Api
{
    public class MappingProfile :Profile
    {
        public MappingProfile() 
        {
            CreateMap<AddShopCommand,Shop>().ReverseMap();
            CreateMap<AddProductCommand, Product>().ReverseMap();
        }
    }
}
